﻿using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{
    /// <summary>
    /// 日志类型信息
    /// </summary>
    [DataContract]
    public enum LogType
    {
        /// <summary>
        /// 一般信息
        /// </summary>
        [EnumMember]
        Information = 0,

        /// <summary>
        /// 警告
        /// </summary>
        [EnumMember]
        Warning = 1,

        /// <summary>
        /// 关键信息
        /// </summary>
        [EnumMember]
        Critical = 2,

        /// <summary>
        /// 错误信息
        /// </summary>
        [EnumMember]
        Error = 4,

        /// <summary>
        /// 提示信息
        /// </summary>
        [EnumMember]
        Notice = 8,

        /// <summary>
        /// 跟踪信息
        /// </summary>
        [EnumMember]
        Trace = 16,

        /// <summary>
        /// 输入转存信息
        /// </summary>
        [EnumMember]
        Dump = 32
    }
}
